import java.util.Scanner;

public class Demo11 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String st=sc.nextLine();
        String sub=st.substring(0,3);
        sub=sub+"****"+st.substring(st.length()-4);
        System.out.println(sub);
    }
}
